// pages/user/setting/settging.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
  
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
  
  },
  logout: function(){
    let that = this;
    wx.removeStorage({
      key: 'token',
      success: function(res) {
      },
    })
    wx.redirectTo({
      url: '../../login/login',
    })
  }
})